Google\Site_Kit\Modules\Analytics_4 D

Total Complexity 130
Dependencies 38
Dependents 4
Total lines 1,221
Lines of code 722
Logical lines of code 321
Comment lines 371
Methods 36
Properties 0

Methods 36

Method Rating Maintainability Complexity Lines of code
create_data_request()
D
23
37 200
parse_data_response()
A
40 14 58
register()
A
44 6 55
determine_google_tag_id_from_tag_ids()
S
56 7 19
get_datapoint_definitions()
S
43 3 59
parse_webdatastreams_batch()
S
57 5 16
handle_provisioning_callback()
S
48 3 39
register_tag()
S
54 4 21
create_property()
S
56 4 17
get_debug_fields()
S
52 3 25
check_service_entity_access()
S
58 3 17
filter_analytics_allow_tracking_disabled()
S
66 4 9
is_connected()
S
60 3 14
sync_google_tag_settings()
S
62 3 12
filter_property_with_ids()
S
61 3 12
create_webdatastream()
S
55 2 21
replicate_analytics_sharing_settings()
S
70 3 6
setup_assets()
S
55 1 22
get_tag_id()
S
69 2 7
analytics_tracking_opt_out()
S
68 2 7
filter_account_with_ids()
S
66 2 8
filter_webdatastream_with_ids()
S
65 2 9
setup_info()
S
62 1 11
get_provisioning_redirect_uri()
S
77 1 4
get_scopes()
S
81 1 3
setup_services()
S
65 1 9
filter_web_datastreams()
S
68 1 8
on_deactivation()
S
78 1 4
normalize_account_id()
S
80 1 3
normalize_property_id()
S
80 1 3
on_activation()
S
76 1 4
get_google_tag_settings_for_measurement_id()
S
69 1 7
get_analyticsdata_service()
S
80 1 3
get_measurement_id()
S
76 1 4
get_tagmanager_service()
S
80 1 3
setup_settings()
S
80 1 3